
 <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-6041773-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>


    <script src="https://www.google.com/jsapi?key=ABQIAAAAzg7xaRFJAjhD5ymIdbl7kRScXFUx__PwbuEtpZ_mS64s_SgppxS6aLKIBS1x7GVKfyflvoe1MDym-A" type="text/javascript"></script>
    <script language="Javascript" type="text/javascript">
    //<![CDATA[

    //google.load("search", "1");
	//google.load("jquery", "1.4.2")
    /* function OnLoad() {
      // Create a search control
      var searchControl = new google.search.SearchControl();

      // Add in a full set of searchers
      var localSearch = new google.search.LocalSearch();
      searchControl.addSearcher(localSearch);
      searchControl.addSearcher(new google.search.WebSearch());
      searchControl.addSearcher(new google.search.VideoSearch());
      searchControl.addSearcher(new google.search.BlogSearch());

      // Set the Local Search center point
      //localSearch.setCenterPoint("New York, NY");

      // Tell the searcher to draw itself and tell it where to attach
      searchControl.draw(document.getElementById("searchcontrol"));

      // Execute an inital search
      searchControl.execute("Google");
    }
    google.setOnLoadCallback(OnLoad);
 */
    //]]>
    </script>

</head>
<body>
<div id="bg1">
	<div id="header">
		<h1><a href="home.php">HalfTime Genius<sup>Beta</sup></a></h1>
		<?php
		$security = new HTSecurity();
			if($security->isLoggedIn()) {
		?>
		<h2><a href="home.php"><?php echo $_SESSION['login_email']; ?></a>|<a href="help.php">Help</a>|<a href="logout.php">Logout</a></h2>
		<?php
			} else {
		?>
		<h2><a href="login.php">Login</a>|<a href="getit.php">Register</a>|<a href="help.php">Help</a></h2>
		<?php
			}
		?>

	</div>
	<!-- end #header -->
</div>
<!-- end #bg1 -->
<div id="bg2">
	<div id="header2">
		<div id="menu">
			<ul>
				<li><a href="home.php">Home</a></li>
				<li><a href="nfl.php">NFL</a></li>
				<li><a href="ncaaf.php">NCAA</a></li>
				<li><a href="blog.php">Headlines</a></li>
<!-- 				<li><a href="#">Other Sports</a></li>
 -->				<li><a href="butter.php">Bread & Butter</a></li>
				<!--<li><a href="investing.php">Investing/Betting</li>-->
				<li><a href="about.php">About Us</li></a>
				<li><a href="contact.php">Contact Us</li></a>
			</ul><?php if(@$_SESSION['isAdmin']) { ?>
				<br />
				<ul class="second">
					<li><a href="addPick.php">Add Picks</a>
					</li>
					<li><a href="addBlog.php">Add Headlines</a>
					</li>
					<li><a href="addTicker.php">Add Tickers</a>
					</li>
					<li><a href="linkCreator.php">Email Link</a>
					</li>
					<li><a href="reports.php">MemberReports</a></li>
					
				</ul>
				<br />
				<?php } ?>
			</div>
		<!-- end #menu -->
		<div id="search">
			<form id="searchForm" method="get" action="home.php">
				<fieldset>
				<input type="text" name="q" value="search keywords" id="q" class="text" />
				<input type="submit" value="Search" class="button" />
				</fieldset>
			</form>
		</div>
		<!-- end #search -->
	</div>
	<!-- end #header2 -->
</div>
<!-- end #bg2 -->
<div id="bg3">
	<div id="bg4">
		<div id="bg5">
			<div id="page">
				<!-- <div id="content"> -->
